package com.wxg.englishwordgather.util;

import java.io.File;

public class FileUtils {

	/**
	 * 
	 * @param dirpath
	 * @return
	 */
	public static File[] listFilesf(String dirpath) {
		File dir = null;
		if (null != dirpath) {
			dir = new File(dirpath);
			if ( null != dir && dir.isDirectory() ) {
				return dir.listFiles();
			}
		}
		return null;
	}
}
